
#ifndef DESIGN_PATTERNS_BUILDER_DIRECTOR_H
#define DESIGN_PATTERNS_BUILDER_DIRECTOR_H

#include "ComputerBuilder.h"

class Director
{
private:
  ComputerBuilder* cb_;

public:
  explicit Director(ComputerBuilder* builder = nullptr);

  Computer* deliver();

  void set_builder(ComputerBuilder* new_builder);

  ~Director();
};

#endif //DESIGN_PATTERNS_BUILDER_DIRECTOR_H
